package com.java.androidmarket.service;

import com.java.androidmarket.entity.User;

/**
 * description:
 * author:张腾
 * date:2021-04-24
 */
public interface UserService {

    String login(String userName,String userPwd);

    String getUserName(int userId);

    User getUser(int userId);

    void uploadHead(String fileName,int userId);

    String register(String userName,String userPwd);

    boolean checkName(String userName);

    boolean updateUser(User user);
}
